<?php
namespace app\admin\validate;
use think\Validate;
class Brand extends Validate{

    // 验证规则
    protected $rule = [

        ['ch_name', 'require', '请填写品牌中文名称！'],
        ['status', 'require|number', '请选择前台状态|前台状态非法提交！'],
        ['sort', 'number', '非法排序！'],
        ['site_url', 'url', '网站地址格式错误！'],
        
    ];
      
}